FROM registry.cn-shenzhen.aliyuncs.com/tpshion/cimg-openjdk:21.0.6

ADD target/shop-1.0.0.jar /home/app.jar

EXPOSE 9500

ENTRYPOINT ["sh", "-c", "java -Dspring.profiles.active=test -server -Xms256m -Xmx256m -jar /home/app.jar"]